<template>
  <view>
    <cu-custom bgColor="bg-gradual-blue" :isBack="true" class="nav-custom">
      <!-- <block slot="backText">返回</block> -->
      <block slot="content">监测防控-地灾点</block>
    </cu-custom>

    <view class="app-box" :style="{ height: appHeight + 'px' }"></view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      appHeight: 0,
    };
  },
  mounted() {
    this.statPage();
  },
  methods: {
    async statPage() {
      this.appHeight = await this.$getHeight(".nav-custom");
    },
  },
};
</script>

<style lang="less">
.app-box {
  border: 1rpx solid red;
  width: 100%;
}
</style>
